package com.demo.template;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author admin
 */
@SpringBootApplication
public class TemplateConsumerMain {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(TemplateConsumerMain.class, args);

        String[] beanDefinitionNames = run.getBeanDefinitionNames();
        System.out.println(beanDefinitionNames);
    }
}
